package com.example.secondhandsysapi.Service;


import com.example.secondhandsysapi.Vo.CollectionDetails;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CollectService {

    Integer getCollects(@Param("user_id") Integer user_id, @Param("goods_id") Integer goods_id);
    List<CollectionDetails> getCollectionInfoByName(@Param("user_id") Integer user_id,@Param("goods_name") String goods_name);
    List<CollectionDetails> getCollectionInfo(@Param("user_id") Integer user_id);
}
